package com.sky.service.admin.impl;

import com.sky.mapper.user.MerchantMapper;
import com.sky.pojo.Merchant;
import com.sky.service.admin.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MerchantServiceImpl implements MerchantService {

    @Autowired
    private MerchantMapper merchantMapper;

    @Override
    public Merchant getShopById(Long id) {
        return merchantMapper.getShopById(id);
    }
}
